<?php
/**
 * This is the global configuration file for EchoNav
 */
 
###############################################################
#    DO NOT CHANGE UNLESS YOU KNOW WHAT YOU'RE DOING!!        #        
###############################################################
 
/**
 * Throwable exceptions
 */
// No Auth Object exists to get a username / password from
class NoAuthObject extends Exception { }
// Failure to login
class LoginFailure extends Exception { }
// Couldn't fetch the page
class FetchFailure extends Exception { }
// Request data was empty
class NoFetchData extends Exception { } 
 
// Where to find certain folders for includes, data, etc.
define("APP_PATH", dirname(__FILE__) . '/../');
define("MIXI_INCLUDES", APP_PATH . "mixi");
define("DATA_DIR", APP_PATH . "data");
define("ECHOPRINTER_DIR", APP_PATH . "/echo_printers");
define("ECHOLOGGER_DIR", APP_PATH . "/echo_loggers");
define("ECHOFILTER_DIR", APP_PATH . "/echo_filters");
define("CONF_DIR", APP_PATH . "/conf");

// Other defines
define('COOKIE_FILE', DATA_DIR . '/cookies.txt');

// For proxy users
define("PROXY_ENABLED", false);
define("PROXY_HOST", '');
define("PROXY_USER", '');
define("PROXY_PASS", '');
define("PROXY_PORT", '');
// SOCKS5 = CURLPROXY_SOCKS5
define("PROXY_TYPE", CURLPROXY_HTTP);
// NTLM = CURLAUTH_NTLM
define("PROXY_AUTH", CURLAUTH_BASIC);

error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
?>
